<?php
error_reporting(0);
$isadmin=1;
include_once '../comm/config.php';
include 'check.php';
include_once '../comm/func.php';

$fxbname =$_POST['fxbname']; 

$link = mysql_connect($dbserver, $dbuser, $dbpass);
if (!$link) {die(ERR_DB);}
mysql_select_db($dbname);
mysql_query("set names utf8");
$q = "update ".$BIAOTOU."websetting set fxbname='".$fxbname."'";

mysql_query($q);

mysql_close($link);
echo "<script language=javascript>alert('返现宝成功！即将跳转到返现宝管理...');window.location='fxb.php'</script>";
?>
